package com.edu.chongdian;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.webkit.JavascriptInterface;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.widget.Toast;

import com.edu.chongdian.R;

public class wangyeActivity extends AppCompatActivity {
    private WebView webView;
    private String url = "file:///android_asset/index.html";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_wangye);
        webView = findViewById(R.id.webview);
        webView.loadUrl(url);
    }
}